<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html><head>
<title>colors</title>
</head><body>
<p>[<a href="mxdoc.htm">mainpage</a>]
[<a href="tags.htm">tags</a>]<br>
<h1><a name="colors">module: colors</a></h1><p>Color encoding

This module contains color encoding macros.  
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p>Part of the <a href="degfx.htm">degfx</a> library.<ul><li>
<a name="define MXRGB(r, g, b)"><code>#define MXRGB(r, g, b)</code></a>
<p>
<p><b>Construct a pixel out of a r, g, b  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXRGBT(r, g, b, a)"><code>#define MXRGBT(r, g, b, a)</code></a>
<p>
<p><b>Construct a pixel out of a r, g, b and transparency  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXT(c)"><code>#define MXT(c)</code></a>
<p>
<p><b>The transparency of a pixel  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXR(c)"><code>#define MXR(c)</code></a>
<p>
<p><b>Red component of a pixel  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXG(c)"><code>#define MXG(c)</code></a>
<p>
<p><b>Green component of a pixel  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXB(c)"><code>#define MXB(c)</code></a>
<p>
<p><b>Blue component of a pixel  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXTRANS(c, a)"><code>#define MXTRANS(c, a)</code></a>
<p>
<p><b>Set pixel transparency  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXBLENDT(c1, c2, a1)"><code>#define MXBLENDT(c1, c2, a1)</code></a>
<p>
<p><b>Blend two pixels with transparency  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXBLEND(c1, c2)"><code>#define MXBLEND(c1, c2)</code></a>
<p>
<p><b>Blend two pixels using the transparency component of the first pixel.  </b><p>
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
<li>
<a name="define MXCOLOR_alice"><code>#define MXCOLOR_alice</code></a>
<p>
<p><b>Macros for named colors</b><p>
There are many different MXCOLOR_* macros for named colors.  
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<p></li>
</ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb  4 15:16:26 2007


</body></html>
